﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CSF.BusinessCore.Data;

namespace CSF.Customers.Data
{
    public class Customer : Transaction
    {
        #region Database Table Field Mapping members

        public string Code { get; set; }

        public int? ParentId { get; set; }
        public int CustomerTypeId { get; set; }

        public string NickName { get; set; }
        public string FullName { get; set; }

        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string City { get; set; }
        public string CountryCode { get; set; }
        public string CreditClassCode { get; set; }
        public string Email { get; set; }
        public string Fax { get; set; }
        public string Mobile { get; set; }
        public string Phone { get; set; }
        public string Province { get; set; }
        public string Suburb { get; set; }
        public string ZipCode { get; set; }
        public bool InMailList { get; set; }
        public string CourierAccountNo { get; set; }
        public string VatNo { get; set; }
        public string RegionCode { get; set; }
        public string WebSite { get; set; }
        public string Logo { get; set; }
        public string Remarks { get; set; }

        public ApprovalStatus ApproveStatus { get; set; }
        public string ApproveBy { get; set; }
        public DateTime? ApproveTime { get; set; }
        public string ApproveComment { get; set; }

        public bool IsDisable { get; set; }

        #endregion Database Table Field Mapping members
    }
}
